package com.concurrent.chapter4.concurrent07;

public class Test {
	public static void main(String[] args) {
		String string = "{\"mobile\": \"17091420278\", \"notify_methods\": \"email,sms,weixin\", \"email\": \"shangyidong@meituan.com\", \"name\": \"shangyidong\"}";
		string = string.replaceAll(",sms", "");
		string = string.replaceAll("sms,", "");
		string = string.replaceAll(",weixin", "");
		string = string.replaceAll("weixin,", "");
		System.out.println(string);
	}
}
